package com.rory.controller.back.form;

import com.rory.controller.BaseController;
import com.rory.controller.interceptor.Login;
import com.rory.service.serviceInterface.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * File: MenuController.
 * Created by Rory on 2016/11/24.
 */
@Controller
@RequestMapping("menu")
public class MenuController extends BaseController{

    @Autowired
    private MenuService menuService;

    @Login
    @RequestMapping("list")
    public String toMenuList(Model model) {
        return "back/menu/list";
    }
}
